package cn.edu.xmut.chen.zhlg.common.framework.exception;

import cn.edu.xmut.chen.zhlg.common.utils.ResultType;

public class AssertionException extends RuntimeException {
    private ResultType resultType;

    private static final long serialVersionUID = -1023297548643274521L;

    public AssertionException(ResultType resultType, String message) {
        super(message);
        this.resultType = resultType;
    }

    public ResultType getResultType() {
        return resultType;
    }
}
